package com.delphi.tcde.plug.preferences;

import org.eclipse.jface.preference.*;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.IWorkbench;
import com.delphi.tcde.plug.Activator;

public class GraphPreferences
	extends FieldEditorPreferencePage
	implements IWorkbenchPreferencePage {

	public GraphPreferences() {
		super(GRID);
		setPreferenceStore(Activator.getDefault().getPreferenceStore());
		setDescription("Preference page for graph plug-in");
	}
	
	public void createFieldEditors() {

		addField( new RadioGroupFieldEditor( PreferenceConstants.P_COLOR, "Choice color of connections", 1, 
		          new String[][] { { "Red choice", "red" }, { "Blue choice", "blue" }}, getFieldEditorParent()));
	}
	
	public void init(IWorkbench workbench) {
	}
	
}